<?php if (!count($pager->getResults())) 
echo 'Публикации отсутствуют';
else { ?> 
<?php 
	foreach($pager->getResults() as $new_item)	
	{
	?>											
		<div class="item">
			<div class="photo">			  	
		 	<?php echo link_to('<img src="/uploads/news/thumbnail_70_70/'.$new_item['image'].'"/>','news_view',$new_item)?> 
			</div>
		<div class="description">
				<h2><?php echo $new_item['title']; ?></h2>
				<em class="date"><?php echo format_date(strtotime($new_item['created_at']),'D','ru'); ?></em>
				<p><?php echo $new_item['short']; ?></p>
			<div class="more">
			<?php echo link_to('Подробнее','news_view',$new_item)?>				
			</div>
		</div>			
		</div>		
		<?php 
	}	
?>
<div class="allarchive"><?php echo link_to('Все новости','news/index');?></div>
<?php } ?>